package farmers.stream;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserStream {
    private String name;
    private int age;

    public static UserStream getUserStream_zhang3(){
        UserStream userStream = new UserStream();
        userStream.setName("张三");
        userStream.setAge(20);
        return userStream;
    }

    public static UserStream getUserStream_li4(){
        UserStream userStream = new UserStream();
        userStream.setName("李四");
        userStream.setAge(25);
        return userStream;
    }

    public static UserStream getUserStream_wang5(){
        UserStream userStream = new UserStream();
        userStream.setName("王五");
        userStream.setAge(30);
        return userStream;
    }
}
